www.gusucode.com > 落叶冰点万能企业网站内容管理系统 V9.1 > 落叶冰点万能企业网站内容管理系统 V9.1\code\Label\custom_Label\下载系统标签库\nd_do_search_down.asp

    <%'$start_ext_newDsoft 以下系统生成,勿删!
'$newDsoft_label_type$:loop_label_one_loop$end_newDsoft_label_type$
'$newDsoft_label_name$:nd_do_search_down$end_newDsoft_label_name$
'$newDsoft_label_sql$:select [ND_down].id,[ND_down].title,[ND_down].classid,[ND_down].SpecialID,[ND_down].titleColor,[ND_down].titleFont,[ND_down].index_page_pic,[ND_down].is_outlink,[ND_down].outlink,[ND_down].is_new,[ND_down].is_tuijian,[ND_down].isTop,[ND_down].Hits,[ND_down].DayHits,[ND_down].MonthHits,[ND_down].HitsTime,[ND_down].WriteTime,[ND_down].username,[ND_down].is_shenhe from [ND_down]$end_newDsoft_label_sql$
'$newDsoft_label_params$:id,限制在哪个分类里搜索,填分类id,填all(加引号)或””则不限制,1|url,下载详细页url,2|ur2l2,下载分类页连接,2|num,显示数,3|lent,标题最大字符数,3|width,宽度,3|kkkey,搜索关键字,1|wwwht,填1则按标题搜索,填2则按内容搜索,1|sys_content_type,频道id,1$end_newDsoft_label_params$
'$newDsoft_label_fenye_num$:$xxvar$num$end_newDsoft_label_fenye_num$
'$newDsoft_label_beizhu$:显示下载搜索结果列表,可以限制在某个分类里搜索$end_newDsoft_label_beizhu$
'$newDsoft_is_sys_label$:0$end_newDsoft_is_sys_label$
'$newDsoft_other_params$:hhend:</table>|hhks:<table   border="0" cellpadding="0" cellspacing="0" width="$xxvar$width">$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_startx1$$$sx_aspcodex_huanhang$if trim(cstr($xxvar$kkkey&""))<>"" then$$sx_aspcodex_endx1$$$sx_aspcodex_huanhang${$$nd_search_jilu(down,$xxvar$kkkey,$xxvar$sys_content_type)}$$sx_aspcodex_huanhang$$$sx_aspcodex_startx1$end if$$sx_aspcodex_endx1$|sql_run:$$sx_aspcodex_startx1$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$sql2=""$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$if trim(lcase(cstr($xxvar$id)))<>"all" and trim(lcase(cstr($xxvar$id)))<>"" then$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$set Rs33=server.CreateObject("adodb.recordset")$$sx_aspcodex_huanhang$sql="select cstr(parent_id_list) from [ND_down_class] where id="&$xxvar$id$$sx_aspcodex_huanhang$Rs33.open sql,newdsoft_conn_obj,1,1$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$sspa=rs33(0)&","&$xxvar$id&","$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$sql2=" and (classid='"&$xxvar$id&"' or classid in (select cstr(id) from  [ND_down_class] where parent_id_list like '%"&sspa&"%' ) or classid in (select cstr(id) from [ND_down_class] where  parent_id='"&$xxvar$id&"') ) "$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$else$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$sql2=""$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$end if$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$sxxsvbn=trim(replace($xxvar$kkkey,"'",""))$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$if sxxsvbn="" then sxxsvbn="        "$$sx_aspcodex_huanhang$if trim(cstr($xxvar$wwwht))="1" or trim(cstr($xxvar$wwwht)&"")="" then$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$sql2=sql2&" and (title like '%"&sxxsvbn&"%' or sub_title like '%"&sxxsvbn&"%') "$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$end if$$sx_aspcodex_huanhang$if trim(cstr($xxvar$wwwht))="2" then$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$sql2=sql2&" and content like '%"&sxxsvbn&"%' "$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$end if$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$if trim(cstr($xxvar$sys_content_type))<>"all" and trim(cstr($xxvar$sys_content_type))<>"" then$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$sql2=sql2&" and sys_content_type='"&$xxvar$sys_content_type&"' "$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$end if$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$sql=" select * from   [ND_down] where  is_shenhe='1' "&sql2&" order by clng(isTop) desc,WriteTime desc,id desc"$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_endx1$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$|iffen:1|run_asp_1_1:$$sx_aspcodex_startx1$$$sx_aspcodex_huanhang$set Rs3311=server.CreateObject("adodb.recordset")$$sx_aspcodex_huanhang$sql="select * from [ND_down_class] where id="&rs_x2("classid")&""$$sx_aspcodex_huanhang$Rs3311.open sql,newdsoft_conn_obj,1,1$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$clssstr="<a href=$xxvar$ur2l2?cid="&rs3311("id")&">["&rs3311("classname")&"]</a>"$$sx_aspcodex_huanhang$$$sx_aspcodex_endx1$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_startx1$$$sx_aspcodex_huanhang$'获取字体的html$$sx_aspcodex_huanhang$nd_ret_font=getFontMode(gotTopic(rs_x2("title"),$xxvar$lent),rs_x2("titleColor"),rs_x2("titleFont"),13)$$sx_aspcodex_huanhang$$$sx_aspcodex_endx1$$$sx_aspcodex_huanhang$$$sx_aspcodex_startx1$$$sx_aspcodex_huanhang$if rs_x2("is_outlink")="1" then$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$suuurl=rs_x2("outlink")$$sx_aspcodex_huanhang$else$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$suuurl="$xxvar$url?arid="&rs_x2("id")&"&cid="&rs_x2("classid")$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$end if$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$$$sx_aspcodex_endx1$|ksdaima: $$sx_aspcodex_huanhang$$$sx_aspcodex_huanhang$<tr><td width=100$$sx_aspcodex_endx1$|jiesdaima:</td></tr>|rsname:rs_x2|htmledxa:1|htmledxb:$end_newDsoft_other_params$
'$end_ext_newDsoft%>



<table style="height: 25px" width="100%" border="0">
    <tbody>
        <tr>
            <td valign="middle" align="center" width="13%"><%iiiidd=rs_x2("id")%>{$$nd_dings_it($xx_var_asp$iiiidd,down)}</td>
            <td width="87%">
            <table style="height: 25px" width="100%" border="0">
                <tbody>
                    <tr>
                        <td width="72%" bgcolor="#eeeeee">·<%=clssstr%><a target="_blank" href="<%=suuurl%>"><%=nd_ret_font%></a></td>
                        <td width="10%" bgcolor="#eeeeee"><%=month(rs_x2("WriteTime"))%>-<%=day(rs_x2("WriteTime"))%></td>
                        <td width="18%" bgcolor="#eeeeee">浏览:<%=rs_x2("hits")%></td>
                    </tr>
                    <tr>
                        <td width="98%" colspan="3"><strong>软件简介:</strong><%=gotTopic(n_RemoveHTML_mdx(rs_x2("content")),300)%></td>
                    </tr>
                    <tr>
                        <td width="98%" colspan="3" height="5">
                        <div style="border-right: 0px dashed; border-top: 1px dashed; border-left: 0px dashed; border-bottom: 0px dashed; height: 1px"></div>
                        </td>
                    </tr>
                </tbody>
            </table>
            </td>
        </tr>
    </tbody>
</table>